import React from 'react';

class AddComponent extends React.Component{

    //必须书写render方法
    render(){
        return (
            <div>
            <input type='text'></input>
            <button>添加</button>
            </div> 
        )
    }
}

export default AddComponent

